<template>
  <router-view></router-view>
<!--  <Home></Home>-->
<!--  <TableComponent :tableData="data" :count="count" @add="add"></TableComponent>-->
</template>

<script setup>
  import Home from "./components/Home.vue"
  import TableComponent from "./components/TableComponent.vue"
  const count = 80
  const add = ()=>{
    alert("我是新增按钮")
  }
  const data = [
    {
      date: '2016-05-03',
      name: 'TomCat',
      address: 'No. 189, Grove St, Los Angeles',
    },
    {
      date: '2016-05-02',
      name: 'Tom',
      address: 'No. 189, Grove St, Los Angeles',
    },
    {
      date: '2016-05-04',
      name: 'Tom',
      address: 'No. 189, Grove St, Los Angeles',
    },
    {
      date: '2016-05-01',
      name: 'Tom',
      address: 'No. 189, Grove St, Los Angeles',
    },
  ]
</script>

<style scoped>

</style>